-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Update API names for NSMutableArray #1315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@swift-ci please test |
@spevans fixed the unit test. |
@swift-ci please test |
@spevans |
|
Thats odd since that specific test function doesn't even create any ranges. I will run it locally and see If I can reproduce |
TestFoundation/TestNSArray.swift
Outdated
("test_readWriteURL", test_readWriteURL), | ||
("test_insertObjectAtIndex", test_insertObjectAtIndex), | ||
("test_insertObjectsAtIndexes", test_insertObjectsAtIndexes), | ||
("test_replaceObjectsAtIndexesWithObjects", test_replaceObjectsAtIndexesWithObjects) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you add a comma at the end of the list, you avoid the need to do changes like in line 49.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alblue should I update this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You didn't necessarily have to, and I would have squashed the commit with this one rather than appending - but it is something to know for the future, if nothing else :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I avoid sqashing / ammending or changing history in any other way on anything that's open. It's harder to keep track of subsequent changes and comments loose track of the code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you squash these three commits together? The first caused a test failure and the comma one standalone doesn't really benefit being on its own.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, makes sense to me to do so after review.
Done
@swift-ci please test |
1 similar comment
@swift-ci please test |
57321cb
to
c96bc21
Compare
@swift-ci please test and merge |
No description provided.